package com.zhijian.medical.service;

import com.zhijian.medical.entity.po.PersonProfessionalTechnologyEstimate;
import com.zhijian.medical.entity.vo.request.PersonProfessionalTechnologyEstimateSaveOrUpdateVo;
import com.zhijian.medical.entity.vo.request.PersonProfessionalTechnologyEstimateSearchVo;
import com.zhijian.medical.entity.vo.response.PersonProfessionalTechnologyEstimateListVo;
import com.zhijian.medical.entity.vo.response.PersonProfessionalTechnologyEstimateVo;
import com.zhijian.medical.util.Page;

import java.util.List;

/**
 * 人员-专业技术能力评估表 业务处理层
 *
 * @author HCG
 * @version 1.0
 * @date 2022-03-27 12:30:33
 */
public interface PersonProfessionalTechnologyEstimateService {

    /**
     * 主键查询
     *
     * @param id
     * @return
     */
    PersonProfessionalTechnologyEstimate selectById(Long id);

    /**
     * 主键查询vo
     *
     * @param id
     * @return
     */
    PersonProfessionalTechnologyEstimateVo selectVoById(Long id);

    /**
     * 按照主键删除
     *
     * @param id
     */
    void deleteById(Long id);

    /**
     * 新增
     *
     * @param personProfessionalTechnologyEstimate
     * @return
     */
    Long insert(PersonProfessionalTechnologyEstimate personProfessionalTechnologyEstimate);

    /**
     * 新增
     *
     * @param personProfessionalTechnologyEstimateSaveOrUpdateVo
     * @return
     */
    Long insert(PersonProfessionalTechnologyEstimateSaveOrUpdateVo personProfessionalTechnologyEstimateSaveOrUpdateVo);

    /**
     * 更改
     *
     * @param personProfessionalTechnologyEstimate
     * @return
     */
    boolean update(PersonProfessionalTechnologyEstimate personProfessionalTechnologyEstimate);

    /**
     * 修改
     *
     * @param personProfessionalTechnologyEstimateSaveOrUpdateVo
     * @return
     */
    boolean update(PersonProfessionalTechnologyEstimateSaveOrUpdateVo personProfessionalTechnologyEstimateSaveOrUpdateVo);

    /**
     * 总数
     *
     * @param personProfessionalTechnologyEstimateSearchVo
     * @return
     */
    Integer count(PersonProfessionalTechnologyEstimateSearchVo personProfessionalTechnologyEstimateSearchVo);

    /**
     * 列表
     *
     * @param personProfessionalTechnologyEstimateSearchVo
     * @return
     */
    List<PersonProfessionalTechnologyEstimateListVo> selectList(PersonProfessionalTechnologyEstimateSearchVo personProfessionalTechnologyEstimateSearchVo);

    /**
     * 分页查询
     *
     * @param personProfessionalTechnologyEstimateSearchVo
     * @return
     */
    Page<PersonProfessionalTechnologyEstimateListVo> selectPage(PersonProfessionalTechnologyEstimateSearchVo personProfessionalTechnologyEstimateSearchVo);

    /**
     * 根据人员id进行查找
     *
     * @param personId
     * @return
     */
    PersonProfessionalTechnologyEstimateVo selectVoByPersonId(Long personId);
}